package com.lmt_12;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStream;

public class OutPut  {
    public static void main(String[] args) throws Exception {
        OutputStream  output = new FileOutputStream("src/com/lmt_12/1.txt",true); // append
        output.write('b');
        byte[] bytes = "j6666666".getBytes(); // String to bytes
        output.write(bytes);
        output.close();
    }
}
